Yes. The ones I showed in the video were all initialized.
How I discovered the problem is that doing an IAP started resulting in no longer getting new lives (the code basically validates the receipt and then adds the (static let variable) to a numberOfLives var variable.
It seems that some variables get initialized properly and some don't? I can't think of what could cause this... and it makes no difference if it's done on the main thread or not.
Thank you for your help.
Topic:
Programming Languages
SubTopic:
Swift
Tags: